package com.reason.user.service.impl;

import com.reason.user.dao.JobMapper;
import com.reason.user.pojo.Job;
import com.reason.user.service.JobService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author  yulongjun
 * @date 2020/6/29 10:42 下午
 */
@Service
public class JobServiceImpl implements JobService {
    @Autowired
    private JobMapper jobMapper;

    @Override
    public List<Job> findBrandList() {
        return jobMapper.selectList(null);
    }

    @Override
    public Job findByID(Long id) {
        return jobMapper.selectById(id);
    }
}
